

import vue from 'vue'
import Router from 'vue-router'
import Home from './views/Home.vue'
vue.use(Router)
const routes = [

  {
    path: '/app1',
    name: 'zlogin',
    redirect: '/app1/nihao'
  },
  {
    path: '/app1/nihao',
    name: 'detail',
    component: () => import('./views/nihao.vue'),
  },
  {
    path: '/app1/nihaoa',
    name: 'detail',
    component: () => import('./views/nihaoa.vue'),
  },
  {
    path: '/app1/nihaoma',
    name: 'detail',
    component: () => import('./views/nihaoma.vue'),
  },
  {
    path: '/app1/buhaos',
    component: () => import('./views/buhao.vue')
  },
  {
    path: '/app1/buhaoas',
    name: 'myapp3',
    component: () => import('./views/buhaoa.vue')
  },
  {
    path: '/app1/buhaomas',
    name: 'myapp3',
    component: () => import('./views/buhaoma.vue')
  }


]
export default new Router({
  mode: 'history',
  base: process.env.BASE_URL,
  routes
})
